package org.deri.odhd.buses.model;

import java.util.List;

public class Journey {
	
	private String id;
	private String day;
	private Company company;
	private List<Stop> stops;

	public Journey(String id, String day, Company company, List<Stop> stops) {
		this.id = id;
		this.company = company;
		this.stops = stops;
		this.day = day;
	}

	public String getId() {
		return id;
	}

	public Company getCompany() {
		return company;
	}

	public List<Stop> getStops() {
		return stops;
	}
	
	public void addStop(Stop s){
		this.stops.add(s);
	}

	public String getDay() {
		return day;
	}

}
